package com.wingsfrog.puzzle.service;

import com.wingsfrog.puzzle.controller.dto.response.PlayListDto;
import com.wingsfrog.puzzle.controller.dto.response.RecordDto;
import com.wingsfrog.puzzle.controller.dto.response.UserResDto;
import com.wingsfrog.puzzle.modules.entity.PuzzleRecord;

import java.util.List;
import java.util.Map;

public interface PuzzleRecordService {
    public PuzzleRecord get(Integer recordId);
    public List<RecordDto> getScoreBoard(Integer picId);
    public void update(Integer userId, Integer picId, Integer step, Integer time);

    // 返回用户玩过的所有图片
    public List<PlayListDto> getPlayList(Integer userId);

    // 返回用户占领的图片
    public List<PlayListDto> getOccupyList(Integer userId);

    public List<UserResDto> getUserList(Integer picId);
}
